
<p><b>syntax:</b> <i>server_name_in_redirect on|off</i>
</p><p><b>default:</b> <i>server_name_in_redirect on</i>
</p><p><b>context:</b> <i>http, server, location</i>
</p><p>If <code>server_name_in_redirect</code> is on, then Nginx will use the first value
of the server_name directive for redirects. If <code>server_name_in_redirect</code> is off,
then nginx will use the requested <code>Host</code> header.
</p>
<br><i>Module: NginxHttpCoreModule</i>